/**
 * 轮播图相关类型定义
 */

// 轮播图项目接口
export interface SwiperItem {
    id: number
    img_url: string
    link_url?: string
    title: string
    description?: string
    sort?: number
    status?: number
    created_at?: string
    updated_at?: string
}

// 轮播图API响应接口
export interface BannerResponse {
    code: number
    message: string
    data: SwiperItem[]
}

// 轮播图配置接口
export interface SwiperConfig {
    autoplay?: boolean
    interval?: number
    duration?: number
    circular?: boolean
    indicatorDots?: boolean
    indicatorColor?: string
    indicatorActiveColor?: string
}
